tools/migrate: Prevent PTE truncation from being fatal duing the live phase
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 1 Sep 2016 09:45:03 +0000 (10:45 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 2 Sep 2016 08:54:41 +0000 (09:54 +0100)
commita335a58e757232249d7f33503ab5d8f849518a47
tree344e9a2a7f20096e3492bd017c4d124a0f43688b
parent1461504ce3c414fc5dc717ce16f039d0742b455a
tools/migrate: Prevent PTE truncation from being fatal duing the live phase

It is possible, when normalising a PV pagetable that the table has been freed
and reused for something else by the guest.

In such a case, data read might no longer be a pagetable, and fail the
truncation check.  However, this should only be fatal if we encounter such a
page in the paused phase.

This check is now consistent with all other checks in the same area.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_sr_save_x86_pv.c